package cn.com.hhrcw.mapper;

import cn.com.hhrcw.entity.SysDictItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * @author lixingxing
 */
public interface DictItemMapper extends BaseMapper<SysDictItem> {
    /**
     * selectItemsByMainId
     *
     * @param mainId
     * @return java.util.List<org.jeecg.modules.system.entity.SysDictItem>
     */
    @Select("SELECT * FROM sys_dict_item WHERE DICT_ID = #{mainId} order by sort_order asc, item_value asc")
    List<SysDictItem> selectItemsByMainId(String mainId);
}
